/*
 * protocol.h
 *
 *  Created on: 24/03/2010
 *      Author: bruno.silva
 */

#ifndef PROTOCOL_H_
#define PROTOCOL_H_

typedef enum{
	protocol_reset = '!',
	protocol_controllerId = '?',
	protocol_sendAttributtes = 'A',
	protocol_receiveClock = 'H',
	protocol_receiveProgrammingControl = 'G',
	protocol_getMemoryModel = 'M',
	protocol_sendFlashPage = 'R',
	protocol_receiveFlashPage = 'W',
} protocol_command;

extern void protocol_init(void);

#endif /* PROTOCOL_H_ */
